/*
 * BundleInstaller.fx
 *
 * Created on Oct 5, 2009, 1:40:04 PM
 */

package org.osgifx;

import javafx.async.JavaTaskBase;

import javafx.async.RunnableFuture;
import org.osgi.framework.BundleContext;

/**
 * @author johan
 */

public class BundleInstaller extends JavaTaskBase {

  public-init var bc: BundleContext;
  public-init var location: String;
  var installer: NativeInstaller;

  override protected function create() : RunnableFuture {
    installer = new NativeInstaller(bc, location);
    return installer;
 }

}
